#include <stdio.h>
#include <stdlib.h>
#include <time.h>

#define LEN 26
#define PART 6

char get_rand_char(int n) {
    srand((unsigned) time(NULL));
    int part = LEN / PART;
    if (n == PART) {
        return 'a' + (n-1)*part + rand()%(part + LEN % PART);
    } else {
        return 'a' + (n-1)*part + rand()%part;
    }
}

int main() {
    char rand_ch1 = get_rand_char(1);
    char rand_ch2 = get_rand_char(2);
    char rand_ch3 = get_rand_char(3);
    char rand_ch4 = get_rand_char(4);
    char rand_ch5 = get_rand_char(5);
    char rand_ch6 = get_rand_char(6);
    printf("%c%c%c%c%c%c\n", rand_ch1, rand_ch2, rand_ch3, rand_ch4, rand_ch5, rand_ch6);

    return 0;
}